﻿using CID.Domain.Development;

namespace CID.Web.Models.Development
{
    public class DependencyComponentViewModel : INamedViewModel
    {
        public int Id { get; set; }
        public string Name { get; set; }

        public DependencyComponentViewModel() { }

        public DependencyComponentViewModel(IComponent model)
        {
            Id = model.Id;
            Name = model.Name;
        }
   }
}